package cn.tworice.system.service.notice;

import cn.tworice.common.util.excel.InductsListenerService;
import cn.tworice.mybatis.vo.PageParam;
import cn.tworice.system.dao.notice.po.NoticeDO;
import cn.tworice.system.dao.notice.po.dto.NoticeDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface NoticeService extends InductsListenerService<NoticeDO>, IService<NoticeDO> {

    Map<String,Object> getPage(PageParam pageParam, NoticeDO entity);

    String updateOrInsert(NoticeDO entity);

    NoticeDto getInfo(String id);

    boolean remove(String[] ids);
}
